/**************************************************************

Copyright Astrium Services GEO-Information / Spot Image
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

 ***************************************************************/
package com.spotimage.catalog.client.json;

import com.google.gwt.core.client.JavaScriptObject;
import com.spotimage.catalog.client.shared.Scene;

/**
 * JSON scene object mapped on JSON provided by search API
 */
public class JSONScene extends JavaScriptObject implements Scene {
	protected JSONScene() {	}
	public final native String getId() /*-{
		return this.Id;
	}-*/; 
	public final native String getCloudCoverPercentage() /*-{
		return this.CloudCoverPercentage; // + "%";
	}-*/;
	public final native String getImageUrl() /*-{
		return this.ImageUrl;
	}-*/;
	public final native String getAcquisitionDateString() /*-{
		return this.AcquisitionDate;
	}-*/;
	public final native String getSatellite() /*-{
		return this.Satellite;
	}-*/;
	public final native JSONPoint getUpperLeft() /*-{
		return this.UpperLeft;
	}-*/;
	public final native JSONPoint getUpperRight() /*-{
		return this.UpperRight;
	}-*/;
	public final native JSONPoint getLowerRight() /*-{
		return this.LowerRight;
	}-*/;
	public final native JSONPoint getLowerLeft() /*-{
		return this.LowerLeft;
	}-*/;   
	public final native String getSnowCoverPercentage() /*-{
		return this.SnowCoverPercentage; // + "%";
	}-*/;
	public final native String getShift() /*-{
		return this.Shift;
	}-*/;
	public final native String getMinShift() /*-{
		return this.MinShift;
	}-*/;
	public final native String getMaxShift() /*-{
		return this.MaxShift;
	}-*/;
	public final native String getMetadataUrl() /*-{
		return this.MetadataUrl;
	}-*/;
	public final native String getArchivingStation() /*-{
		return this.ArchivingStation;
	}-*/;
}